package com.hbnu.api.client;

import com.hbnu.api.config.DefaultFeignConfig;
import com.hbnu.api.dto.SyncUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "sync-user-data-service",configuration = DefaultFeignConfig.class)
public interface SyncUserClient {
    @GetMapping("/sync-user")
    List<SyncUserDTO> MoveAllUser();

}
